import Layout from '../../page/index/index.vue'
export default [{
  path: '/wel',
  component:  import('../../page/index/index.vue'),
  redirect: '/wel/index',
  children: [{
    path: 'index',
    name: '首页',
    meta: {
      i18n: 'dashboard'
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/wel/index.vue')
  }, {
    path: 'more',
    name: '控制台',
    meta: {
      i18n: 'more',
      menu: false,
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/wel/dashboard.vue')
  }]
}, {
  path: '/iframe',
  component: Layout,
  redirect: '/iframe',
  children: [{
    path: '',
    name: '',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../components/iframe/main.vue')
  }]
}, {
  path: '/info',
  component: Layout,
  redirect: '/info/index',
  children: [{
    path: 'index',
    name: '个人信息',
    meta: {
      i18n: 'info'
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/user/info.vue')
  }, {
    path: 'setting',
    name: '个人设置',
    meta: {
      i18n: 'setting'
    },
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/user/setting.vue')
  },{
    path: 'certification',
    name: '实名认证',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/user/certification.vue')

  }]
},
  /* *****************授权列表***************** */
  {
  path: '/seal',
  component: Layout,
  children: [{
    path: 'seal-auth',
    name: '授权列表',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/Seal/SealAuth.vue')
  },{
    path: 'seal-use-detail',
    name: '使用详情',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/AntiFakeSeal/SealUseDetail.vue')
  }]
},
  {
    path: '/result',
    component: Layout,
    children: [{
      path: 'pdf-verify-result',
      name: '数字签名详情',
      component: () =>
        import( /* webpackChunkName: "views" */ '../../views/Verification/PdfVerifyResult.vue')
    }]
  },
  {
    path: '/detail',
    component: Layout,
    children: [{
      path: 'sign-detail',
      name: '签署详情',
      component: () =>
        import( /* webpackChunkName: "views" */ '../../views/Evidence/SignEvidence/SignEvidenceDetail.vue')
    },{
      path: 'use-detail',
      name: '导出详情',
      component: () =>
        import( /* webpackChunkName: "views" */ '../../views/Evidence/UseEvidence/UseEvidenceDetail.vue')
    }]

  }, {
      path: '/sign/seal-basic',
      name: '发起签署',
      component: () =>
        import( /* webpackChunkName: "views" */ '../../views/Sign/SignBasic.vue')
  }, {
    path: '/sign/seal-assign',
    name: '指定位置',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/Sign/SealAssign.vue')
  }, {
    path: '/sign/seal-export',
    name: '导出印章',
    component: () =>
      import( /* webpackChunkName: "views" */ '../../views/AntiFakeSeal/SealExport.vue')
  },{
      path: '/sign/seal-anti',
      name: '文件签署',
      component: () =>
        import( /* webpackChunkName: "views" */ '../../views/Sign/SealSign.vue')
  },
]
